using System;
namespace SilverSea.Video.Tools
{
	public class ProtocolTypes
	{
		public static ProtocolType GetType(string protocolType)
		{
			return (ProtocolType)Enum.Parse(typeof(ProtocolType), protocolType, true);
		}
		public static ProtocolType GetType(int index)
		{
			return (ProtocolType)index;
		}
	}
}
